
import instance from "@/utils/request";


/**
 * 根据id删除订单
 */
export function findPage(data) {

    return instance.get(`indent/findAllGoods`,{params: data})
}

/**
 * 添加订单信息和商品订单信息
 */
export function addIndent(data) {

    return instance.post(`indent/insertIndent`,data)
}


/**
 * 添加商品订单信息
 */
export function insertCountgoods(data) {

    return instance.post(`countGoods/addCountgoods`,data)
}